#include <iostream>
#include <unistd.h>

int main()
{
    uid_t uid = getuid();
    uid_t euid = geteuid();
    std::cout << "Real UID: " << uid << std::endl;
    std::cout << "Effective UID: " << euid << std::endl;
    return 0;
}